package demo;

public class Demo03 {
    public static void main(String[] args) {
        int n = 0x614f7bbb;
        int m = 0xff;
        int k = n & m;
        System.out.println(n);
        System.out.println(Integer.toBinaryString(n));
        int b1 = (n >>>24);
        System.out.println(b1);
        int b2 = (n >>>24) & 0xff;
        System.out.println(b2);
        System.out.println();
        System.out.println(m);
        System.out.println(Integer.toBinaryString(m));
        System.out.println();
        System.out.println(k);
        System.out.println(Integer.toBinaryString(k));
    }
}
